package day0324;
//湖光秋月两相和，
//潭面无风镜未磨。
//遥望洞庭山水翠，
//白银盘里一青螺
public class Test10 {
    public static void main(String[] args) {
        char[][]   poem={
                {'湖','光','秋','月','两','相','和'},
                {'潭','面','无','风','镜','未','磨'},
                {'遥','望','洞','庭','山','水','翠'},
                {'白','银','盘','里','一','青','螺'}
        };

        for (int j = 0; j < poem[0].length; j++) {//执行7次(j从0到6)
            for (int i = 3; i >= 0 ; i--) {//执行4次(从3到0)
                System.out.print(poem[i][j]);
            }
            System.out.println();
        }
























        /*for (int j = 0; j < poem.length; j++) {
            char[] p0=poem[j];
            for (int i = 0; i < p0.length; i++) {
                System.out.print(p0[i]);
            }
            System.out.println();
        }*/











        /*char[] p0=poem[0];
        for (int i = 0; i < p0.length; i++) {
            System.out.print(p0[i]);
        }
        System.out.println();

        p0=poem[1];
        for (int i = 0; i < p0.length; i++) {
            System.out.print(p0[i]);
        }
        System.out.println();

        p0=poem[2];
        for (int i = 0; i < p0.length; i++) {
            System.out.print(p0[i]);
        }
        System.out.println();


        p0=poem[3];
        for (int i = 0; i < p0.length; i++) {
            System.out.print(p0[i]);
        }
        System.out.println();*/




    }
}
